import java.io.Serializable;

import javax.swing.ImageIcon;


public class Compound extends draggableLabel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Team team;
	private boolean active;
	
	public Compound(int X, int Y, ImageIcon icon, Team team) 
	{
		super(X, Y, icon,team.getColor());
		this.team = team;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	public Team getTeam() {
		return team;
	}

	public void setTeam(Team team) {
		this.team = team;
	}

}
